package com.hkts.naturalgas.dictionaries.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.dictionaries.entity.HktsEnvironmentProtectionDictionaries;
import com.hkts.naturalgas.dictionaries.entity.HktsEnvironmentProtectionItem;
import com.hkts.naturalgas.dictionaries.vo.PageVo;
import com.hkts.naturalgas.utils.CustomPage;
import com.hkts.naturalgas.utils.Result;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-06-23
 */
public interface IHktsEnvironmentProtectionItemService extends IService<HktsEnvironmentProtectionItem> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hktsEnvironmentProtectionItem
     * @return
     */
    IPage<HktsEnvironmentProtectionItem> selectPage(Page<HktsEnvironmentProtectionItem> page, HktsEnvironmentProtectionItem hktsEnvironmentProtectionItem) throws Exception;

    List<HktsEnvironmentProtectionItem> selectList(HktsEnvironmentProtectionItem hktsEnvironmentProtectionItem);

    List<HktsEnvironmentProtectionItem> getTableItemByTableId(String tableId);

    CustomPage getPage(PageVo vo) throws ParseException;

    Map getChart(PageVo vo) throws ParseException;

    Result<Object> getListData(String workshop) throws ParseException;

    Map<String, List<HktsEnvironmentProtectionItem>> getItemMap(List<HktsEnvironmentProtectionDictionaries> hktsEnvironmentProtectionDictionaries1);

    Map<String, Object> testDataInterface() throws ParseException;
    Map<String, Object> dataInterface() throws ParseException;

    Map<String, Object> testPowerDataInterface() throws ParseException;
    Map<String, Object> powerDataInterface() throws ParseException;

    Map<String, Object> testBaijingDataInterface() throws ParseException;

    Map<String, Object> baijingDataInterface() throws ParseException;
}